﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="FileUpload.aspx.cs" Inherits="DoAn_BumTruong_DesignPattern.Admin.FileUpload" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="js/jquery-1.4.1.js"></script>
    <script src="ckfinder/ckfinder.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#btnSelectImg").click(function () {
                var finder = new CKFinder();
                finder.selectActionFunction = function (fileUrl) {
                    $('#<%=txtImgUrl.ClientID %>').val(fileUrl);
                };
                finder.popup();
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderAdmin" runat="server">
    <h1 style="text-align: center;">QUẢN LÝ FILE</h1>
    <br />
    <div>
        <asp:TextBox ID="txtImgUrl" runat="server" CssClass="masterTooltip example3" ToolTip="Choose an image" Width="700px"></asp:TextBox>
        <input type="button" id="btnSelectImg" value="..." style="height: 32px; width: 30px" />
    </div>
</asp:Content>
